package com.uduew.sjd.config

import com.uduew.sjd.api.GetAddressApi
import com.uduew.sjd.api.GetJobPostApi
import com.kunminx.architecture.data.config.utils.KeyValueProvider


object AppConfig {
    val mConfigs = KeyValueProvider.get<Configs>(
        Configs::class.java
    )
    var mJobs: ArrayList<GetJobPostApi.JobPostBean> = ArrayList()
    var mAddress: ArrayList<GetAddressApi.AddressBean> = ArrayList()
    var loginPhone: String = ""
    var isLogin: Boolean =
        (mConfigs.token().get() != null && mConfigs.token().get().isNotEmpty() && !mConfigs.token()
            .get().equals(Const.API_UN_LOGIN))
    var unfinishedFormCount: Int = 5

    var isFirstRegister: Boolean = true

    var gaid: String = ""
}
